Allow to tweak default scopes for accounts#31623
Conversation
55dcbcf to
d9c879a
Compare
|
I like this PR 👍 |
|
/backport to stable24 |
|
/backport to stable23 |
|
@tcitworld can you please resolve the conflicts? Thank you :) |
d9c879a to
256237c
Compare
|
Done |
|
Thanks! :) |
juliusknorr
left a comment
There was a problem hiding this comment.
Minor comments, otherwise this looks good to me 👍
256237c to
fa68b55
Compare
|
Could we prevent erroneously allowing displayname and email to be set to private in the logic? Unsupported as per server/lib/private/Accounts/AccountManager.php Lines 218 to 228 in 778db45 In these cases we should default to local scope |
|
@tcitworld can you add before/after screenshots for easier design review? Thanks! :) |
Close #6582 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
fa68b55 to
4d26a9a
Compare
Done!
I really can't ! 😅 |
|
Failures are unrelated. |
|
Should we add some documentation on this with a complete example? |
|
Yup, needs an entry in https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html I would suggest a new section with |
|
There is also this: https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/profile_configuration.html |
|
Yes, more appropriate. But still needs a quick mention just before https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#app-config-options |
If I understood this section in the settings documentation correctly, it is actually auto-generated. So I think we should not need to edit this section manually? Maybe @artonge knows? |
|
But of course the profile_configuration section should then be edited and include this setting, I suppose :) |
|
Oh right, I missed that ! |
|
@tcitworld can you open a PR with some documentation on this over at https://github.com/nextcloud/documentation/edit/master/admin_manual/configuration_user/profile_configuration.rst or shall I try to add some documentation on this? :) |
|
Done in nextcloud/documentation#8320 |
|
Thank you! 🚀 |
Closes #6582, Closes #14358, Closes #14959
Replaces #20667